package cn.dada.dadarecipes.user.order.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Order {
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "地址id")
    private Long shippingAddressId;
    @ApiModelProperty(value = "商品id")
    private Long productsId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "商品名称")
    private String productName;
    @ApiModelProperty(value = "商品图片")
    private String productsImg;
    @ApiModelProperty(value = "商品信息")
    private String productsMsg;
    @ApiModelProperty(value = "付款金额")
    private BigDecimal price;
    @ApiModelProperty(value = "购买数量")
    private Integer quantity;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "物流状态")
    private String shippingStatus;
    @ApiModelProperty(value = "付款时间")
    private Date payTime;
    @ApiModelProperty(value = "发货时间")
    private Date dispatchTime;
    @ApiModelProperty(value = "成交时间")
    private Date transactionTime;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
